package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.PageDto;
import com.itheima.reggie.common.R;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;

import java.util.List;

/**
 * 菜品管理(Dish)表服务接口
 *
 * @author shenjiaqi
 * @since 2024-02-02 00:02:51
 */
public interface DishService extends IService<Dish> {

    R pageList(PageDto dto);

    R add(DishDto dto);

    R getDetailsById(Long id);

    R updateByDetail(DishDto dto);

    R updateStatus(String status, List<String> ids);
}

